package com.shop.order.feign;

//import com.shop.order.entity.Cart;
import com.base.common.entity.bean.Cart;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@FeignClient("shop-cart")
@Repository
public interface ApiCartFeign {

    @RequestMapping(value = "/cart/findCartList", method = RequestMethod.POST)
    List<Cart> findCartList();
}
